-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle macros in lints #263
base: main
Are you sure you want to change the base?
Conversation
|
||
#[derive(Event)] | ||
struct Foo; | ||
|
||
macro_rules! local_macro { | ||
() => { | ||
App::new().init_resource::<Events<Foo>>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why rustfix does not fix the macro.. the span is correct but the suggestion is not applied
f3dc61f
to
ca59271
Compare
ca59271
to
127ff5f
Compare
For |
Closes #167
Bugs: